invert a dictionary python

37

invert dictionary python -

inv_map = {v: k for k, v in my_map.items()}

Comments

Submit
0 Comments